package com.zd.springcloud.provider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;


@SpringBootApplication
@MapperScan(basePackages = {"com.zd.springcloud.provider.mapper"})
@ImportResource(value={"classpath:META-INF/spring/SpringApplication.xml"})
//@Import(MyGlobalExceptionHandler.class)
public class SpringCloudProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudProviderApplication.class,args);
    }
}
